/**
 * 
 */
package org.praluca.test1;

import java.io.IOException;
import java.util.Scanner;

public class Tura2 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int a;

		a = 0;
		a = a + 1;
		a += 1;
		a++;
		// a == 3

		boolean b1 = true;
		boolean b2 = false;

		System.out.println("!b1: " + !b1);
		System.out.println("b1 == b2: " + (b1 == b2));
		System.out.println("b1 == !b2: " + (b1 == !b2));
		System.out.println("b1 || b2: " + (b1 || b2));
		System.out.println("b1 && b2: " + (b1 && b2));
		System.out.println("!b1 || b2: " + (!b1 || b2));

		Scanner input = new Scanner(System.in);
		System.out.print("Enter first integer: ");
		int x = input.nextInt();

		System.out.print("Enter second integer: ");
		int y = input.nextInt();

		System.out.print("Enter third integer: ");
		int z = input.nextInt();

		int result = x * y * z;

		System.out.printf("Product is %d\n", result);

	}

}
